home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
hard
/
drivr
/
addspeed.lha
/
AddSpeed.DOC
< prev
next >
Wrap
Text File
|
1992-02-02
|
2KB
|
73 lines
AddSpeed (c) 1991, Niklas Sjöberg
EMail to : Niklas Sjoberg, 2:203/415.3@Fidonet
Snail-Mail to :
Niklas Sjöberg
Karolineborgsv. 8
S-302 41 Halmstad
SWEDEN
Why AddSpeed?
My original AdSpeed program flips out quite often, telling me
"No AdSpeed" and siwtches to 7 MHz, even though I was running in
14 MHz! I don't know if there exist two different versions of
this program (mine is 9884 bytes big) and I was to lazy to
disassemble it and try to locate something NTSC-dependent (it is
made in USA so I figured it might be something like that).
Instead I wrote my own program, which looks for an AdSpeed and
switches it either ON or OFF. It have never failed so far, which
AdSpeed often does.. And besides, AddSpeed got some other
features, like checking for AdSpeed from a script.
Starting AdSpeed
AdSpeed may be run from either WorkBench or CLI/Shell.
(also from WorkBench 2.04)
From Workbench :
Click on AddSpeed's icon. A window will open and toggle the
speed of your AdSpeed. If you are running in 7 MHz it will switch
to 14 MHz and vice versa. It will exit right after switching.
From CLI/Shell :
Just 'AddSpeed' will pop up info about what speed you are
currently running and display the syntax which is : AddSpeed
ON/OFF (actually OF is enough)
Using AddSpeed in a scriptfile
You can use AddSpeed from a script to check if an AdSpeed is
installed. Simply call AddSpeed without any parameters. One of
the following codes are returned :
30 Unable to open dos.library
10 Failed to switch speed for some reason
5 No AdSpeed installed, or no FAST-mem (AdSpeed onyl cache
FAST-mem, so otherwise it is useless)
0 AdSpeed installed or speed toggling went OK.
Example:
Failat 10
AddSpeed >NIL:
If WARN
Echo "No AdSpeed, or no FAST-mem"
Else
Echo "Hey, congratulations you have an AdSpeed!"
Endif
P.S I just got an letter from ICD stating that I don't have any
FAST-mem..The letter said "Technical Support". HAA!
D.S